package com.sfh.sfhshopweb.controller;

import com.sfh.sfhshopweb.entity.ToolsFile;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/test")
public class TestController {

    @RequestMapping("/test")
    public String test() {
        ToolsFile toolsFile = new ToolsFile();
        toolsFile.setFileName("test");
        toolsFile.setModelCode("MA001");
        toolsFile.setBusiKey("1234wsa");
        toolsFile.insert();
        return "Hello World!";
    }
}
